<?php
    require_once './conn.php';
    $xoa = $_POST['id'];
    $query = "delete from students where id = '$xoa'";
    $result = mysql_query($query);
    $return ="<ketqua>";
    if($result)
    {
    $return .= "yes";
    }
    else
    {
    $return .= "no";	
    }
    $return .= "</ketqua>";
    print ($return);
    mysql_free_result($result);
